import com.golden.gamedev.object.Sprite;

//DJ
public class BonusRewind extends Bonus
{
    public BonusRewind (ProgBob progBob, String name, Sprite icon)
    {
        super(progBob, name, icon);
    }

    @Override
    public void act ()
    {
        if (progBob.time_rewind > 0)
        {
            progBob.time_rewind = 3;
        }
        else
        {
            progBob.time_rewind = 4;
        }
    }
}
